﻿using System;
using System.ComponentModel;
using System.Data;
using System.Windows;
using ReflectionStudio.Core.Events;
namespace WPFExcelReport
{
    public partial class TGB33SM:UIGPDAT
    {
        public TGB33SM()
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return;
            MV = new VGPDAT();
            this.DataContext = MV;
            DTSTART = Helpers.Helper.GetDateAddDays(MV.date, -7);
            DTEND = MV.date;
            InitializeComponent();
        }
        public override void vwMaster_CurrentChanged(object sender, EventArgs e)
        {
            base.vwMaster_CurrentChanged(sender, e); 
            dwGP = dwMaster; 
            LOADGP();
        }
    }
}
